:root {
	--totawidth: 100%;
}
html,
body {
	width: var(--totawidth);
}
/* 头部通栏 */
header {
	left: 0;
	top: 0;
	z-index: 40;
	padding: 0 20px;
	width: 100%;
	height: 66px;
	border-bottom: 1px solid #6196de;
}
/* logo图 */
header .logo {
	display: block;
	width: 138px;
	height: 66px;
}
.bl {
	height: 66px;
	background: url(../imgs/iocn/api-new-logo-white.png) no-repeat;
}
/* 导航列表 */
.nl {
	width: 290px;
	height: 64px;
	line-height: 64px;
}
.nl li {
	margin: 0 10px;
}
.nl li a {
	color: #000;
}
.nl li a:hover {
	color: #00bdff;
}
/* 激活样式 */
.nl .active {
	border-bottom: 1px solid #00bdff;
}
.nl .active a {
	color: #00bdff;
}
/* 登录按钮 */
header span {
	display: inline-block;
	border-radius: 50px;
	padding: 4px 8px;
	font-size: 12px;
}
.register {
	border: 1px solid #000;
}
.login {
	vertical-align: 1px;
	background-color: #ed510a;
}
/* 填充 */
.fill {
	width: var(--totawidth);
	height: 66px;
}
/* API分类 */
#api-ci {
	padding-top: 51px;
	width: var(--totawidth);
	height: 280px;
}
/* 下方标题 */
#api-ci div h2 {
	font-size: 25px;
}
/* 下方列表 */
.api-list {
	margin-top: 25px;
	display: flex;
	flex-wrap: wrap;
}
.api-list li {
	margin-right: 10px;
	margin-bottom: 10px;
	padding: 8px 16px;
	border: 2px solid #e1e1e1;
	border-radius: 10px;
}
.api-list li.active {
	color: #4887f0;
	border: 2px solid #4887f0;
	border-radius: 10px;
}
.api-list li:hover {
	cursor: pointer;
	color: #4887f0;
	font-weight: bold;
	border: 2px solid #4887f0;
	border-radius: 10px;
}
/* 列表下方搜索框盒子 */
.search {
	margin-top: 64px;
	display: flex;
}
/* 列表下方搜索框 */
.search p {
	top: -9px;
}
.search input {
	padding-left: 15px;
	width: 223px;
	height: 33px;
	color: #8e92a1;
	background-color: #f4f4f4;
	outline: none;
	border-radius: 50px;
	border: none;
}
.search img {
	left: 201px;
	top: 8px;
}
/* 卡片区 */
#apiCards {
	margin-top: 20px;
	width: var(--totawidth);
}
/* 卡片列表 */
.cards-list {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}
/* 卡片 */
.cards-list li {
	margin-right: 14px;
	margin-bottom: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 227px;
	height: 271px;
	border: 1px solid #f6f6f6;
	transition: all 1s;
	overflow: hidden;
}
.cards-list li:nth-child(5n) {
	margin-right: 0;
}
/* nth-child 从父元素下的n个 */
/* nth-of-type 从父元素下同类型中第n个 */
.cards-list li p:nth-of-type(1) {
	line-height: 44px;
	font-size: 12px;
}
.cards-list li p:nth-of-type(2) {
	line-height: 10px;
	font-size: 14px;
}
.cards-list li span {
	padding: 4px 8px;
	left: 7px;
	top: 8px;
	background-color: #e5f8ff;
	color: #7dd5ff;
}
.cards-list li a {
	bottom: -40px;
	width: 180px;
	height: 30px;
	text-align: center;
	line-height: 30px;
	color: #fff;
	background-color: #00bdff;
	transition: bottom 0.5s;
}
.cards-list li:hover {
	box-shadow: 6px 6px 18px #666;
}
.cards-list li:hover a {
	bottom: 20px;
}
/* 分页器 */
#sorter {
	display: flex;
	justify-content: center;
	width: var(--totawidth);
	height: 152px;
}
#sorter ul {
	display: flex;
	justify-content: space-evenly;
	width: 403px;
	height: 100%;
}
#sorter ul li {
	width: 30px;
	height: 30px;
	text-align: center;
	line-height: 30px;
	border-radius: 50%;
}
#sorter ul li:hover {
	cursor: pointer;
}
/* 激活样式 */
#sorter ul li.active {
	color: #fff;
	background-color: #00bdff;
}
/* 蒙层 */
#mask {
	position: fixed;
	left: 0;
	top: 0;
	z-index: 70;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	display: none;
}
/* 右边登录盒子 */
#register-form {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 450px;
	height: 530px;
	background-color: #fff;
	text-align: center;
}
/* 右边登录标题 */
.register-title {
	margin-bottom: 46px;
}
/* 下方小标题 */
.s-title {
	display: flex;
}
.s-title a {
	margin: 0px 26px;
	display: block;
	height: 20px;
}
/* 标题激活样式 */
.s-title a.active {
	color: #00a7f2;
}
.s-title a.active::after {
	content: "";
	display: block;
	width: 50%;
	height: 4px;
	background-color: #00a7f2;
	margin: 12px 6px;
}
/* 小标题中间的分割线 */
.s-title i {
	display: block;
	width: 2px;
	height: 14px;
	background-color: #eeeeee;
}
form {
	display: none;
}
/* 登录表单 */
#r-box {
	background-color: #fff;
	width: 366px;
	height: 350px;
}
/* 登录框 */
#r-box input {
	box-sizing: border-box;
	padding-left: 30px;
	width: 357px;
	height: 45px;
	border: 0;
	border-bottom: 1px solid #e9e9e9;
	outline: none;
}
/* 用户名框 */
.login-box1 input {
	background: url(../imgs/iocn/loginIcon.png) no-repeat;
	background-position: -55px 7px;
}
/* 密码框 */
.login-box2 input {
	background: url(../imgs/iocn/loginIcon1.jpg) no-repeat;
	background-position: 0 -4px;
}
/* 下方提示:忘记密码 */
.ftp {
	text-align: right;
}
.ftp a {
	color: #00a7f2;
}
/* 登录按钮 */
.login-b {
	width: 365px;
	height: 46px;
	color: #fff;
	background-color: #03c5ff;
	border: 2px solid #03c5ff;
}
/* 扫码登录盒子 */
#scan-code {
	margin-top: 35px;
	padding-left: 23px;
	width: 366px;
	height: 350px;
	background-color: #fff;
}
/* 二维码 */
.QR-code {
	padding: 40px 14px 30px;
	width: 291px;
	height: 240px;
	border: 1px solid #f0f0f0;
	background-color: #fcfcfc;
}
/* 二维码下方文字 */
.QR-code p {
	line-height: 25px;
}
/* 下方提示:立即注册 */
#hint a {
	color: #00bdff;
}
#hint img {
	vertical-align: middle;
}
/* 尾部 */
footer {
	width: var(--totawidth);
	height: 328px;
}
/* 尾部上方列表 */
.text3 {
	width: 722px;
	height: 200px;
}
.text3 .f-list {
	width: 100%;
	height: 14px;
}
.text3 .f-list li {
	font-size: 14px;
}
/* 尾部上方列表标题 */
.title {
	margin-bottom: 38px;
}
/* 尾部上方列表信息  */
.b-msg {
	font-size: 14px;
	line-height: 25px;
	color: #d6cfcf;
}
/* 尾部微信 */
.weix {
	display: flex;
	flex-direction: column;
	align-items: end;
	width: 106px;
	height: 178px;
}
.weix p:nth-child(2) {
	color: #cad2de;
	margin: 19px 0;
}
/* 尾部下方注释 */
.annotation {
	margin-top: 93px;
	width: 100%;
	color: #e2ddda;
}
.annotation span {
	vertical-align: 5px;
}
